package com.woniuxy.micromallserver.bean;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 商品实体类
 * @author Chan
 */
@Data
@Accessors(chain = true)
public class Commodity implements Serializable {

  /**商品id*/
  private Integer commodityId;

  /**商品名称*/
  private String commodityName;

  /**商品分类*/
  private String commodityCategory;

  /**商品图片地址*/
  private String commodityPicture;

  /**商品标题，可包含多个关键词*/
  private String commodityTitle;

  /**商品编码*/
  private String commodityCode;

  /**商品价格*/
  private double commodityPrice;

  /**商品库存*/
  private Integer commodityStock;

  /**商品状态，0-未上架、1-已上架、2-已下架、3-待审核、4-未通过、5-已删除*/
  private Integer commodityStatus;

  /**商品描述*/
  private String commodityDescription;

}
